﻿// --------------------------------------------------------------------------------------
// <copyright file="IResourceDAO.cs" company="NGroup">
// Copyright (c) NGroup. All rights reserved.
// </copyright>
// --------------------------------------------------------------------------------------
// <history>
//     <change who="Bui Thanh Nam" date="2014.09.17">Create</change>
// </history>
// --------------------------------------------------------------------------------------

namespace NGroup.VTL.DAL.Abstraction
{
    using System.Collections.Generic;
    using NGroup.VTL.Models;

    public interface IResourceDAO
    {
        List<TranslationModel> GetTranslationsByTypeAndPagingInfo(int type, ref PagingInfoModel pagingInfo);
        void UpdateTranslations(List<TranslationModel> updateList);
        bool UpdateTranslationItem(TranslationModel item);
        List<TranslationModel> GetAllTranslations();
        bool UpdateSitemapEntry(string key);
        bool AddSitemapEntry(string key);
        bool RemoveSitemapEntry(string key);
    }
}
